export const STATUS_CODE = {
  TIMEOUT: 'ECONNABORTED',
  SUCCESS: 0,
  FAILED: 1,
  INVALID_PARAMETERS: 2,
  NOT_FOUND: 3,
  FORBIDDEN: 4,
  LOGIN_REQUIRED: 5,
  DATA_EXCEED_LIMIT: 6,
};

export const COMMON_NOT_RETRY_CODE = [
  STATUS_CODE.LOGIN_REQUIRED,
  STATUS_CODE.INVALID_PARAMETERS,
  STATUS_CODE.FORBIDDEN,
  STATUS_CODE.NOT_FOUND,
];
